<!DOCTYPE html>
<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{{ Config::get('site.admin.title') }}</title>
    <link href="{{ asset('css/admin_style.css') }}" rel="stylesheet">
    @yield('style')
    <script>
        //全局变量，是Global Variables不是Gay Video喔
        var GV = {
            JS_ROOT : "{{ asset('js/admin') }}/",    //js目录
            JS_VERSION : "1.0.0",    //js版本号
            TOKEN : "{{ csrf_token() }}", //token ajax全局
            URL : {
                LOGIN : "{{ url('admin/auth/login') }}",   //后台登录地址
                IMAGE_RES: "{{ asset('images') }}/"
            }
        };
    </script>

</head>
<body>
<div class="wrap">
    @yield('content')
</div>

@section('js')
    <script src="{{ asset('js/jquery.js') }}"></script>
    <script src="{{ asset('js/admin/wind.js') }}"></script>
    <script src="{{ asset('js/admin/pages/admin/common/common.js') }}"></script>
@show

</body></html>